package cn.lazyturtle.bugpush.constant;

/**
 * @author cwh
 */
public class ApiUrlConstant {
    /**
     * 获取可访问企业相关信息的accessToken的URL
     */
    public static final String URL_GET_CORP_TOKEN = "https://oapi.dingtalk.com/service/get_corp_token";

    /**
     *获取用户在企业内userId的接口URL
     */
    public static final String URL_GET_USER_INFO = "https://oapi.dingtalk.com/user/getuserinfo";

    /**
     *给用户推送工作通知的接口URL
     */
    public static final String URL_SEND_WORK_MESSAGE = "https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2";

    /**
     *根据电话号获取用户id。
     */
    public static final String URL_GET_USER_ID_BY_PHONE = "https://oapi.dingtalk.com/user/get_by_mobile";

    /**
     *根据电话号获取用户id。
     */
    public static final String URL_GET_USER_INFO_BY_ID = "https://oapi.dingtalk.com/topapi/v2/user/get";
}